package com.baizhi.dao;

import com.baizhi.entity.Users;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
@Repository
public class UserDao {
    public List<Users> selectAll(){
        List<Users> userList=new ArrayList<>();
        for(int i=0;i<10;i++){
            Users users=new Users(i,"zhangsan"+i,"124"+i);
            userList.add(users);
        }
        return userList;
    }
}
